/*
 * @Author: your name
 * @Date: 2021-01-06 11:38:26
 * @LastEditTime: 2021-01-06 14:36:19
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \express-seed\routes\updataImg.JS
 */
const express = require('express');
const router = express.Router();
const Result = require('../../models/result');
const { selectImgService } = require('../../service/imgService')

router.get('/', async (req, res, next)=>{
    const ress = await selectImgService()
    new Result(ress, '查询成功').success(res)
})


module.exports = router;

